package com.zzf.design.factory.func;

/**
 * @author zzf
 * @date 2018/8/25 23:11.
 */
public class FactoryTest {

    public static void main(String[] args) {

        Factory factory = new MengniuFactotry();
        System.out.println(factory.getMilk().getName());
    }
}
